package org.jsets.fastboot.oss.service;

import java.util.List;

import org.jsets.fastboot.oss.model.dto.BucketQuery;
import org.jsets.fastboot.oss.model.entity.Bucket;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IBucketService extends IService<Bucket>{
	void initialize();
	void insertBucket(Bucket entity);
	void updateBucket(Bucket entity);
	void removeBucket(Bucket entity);
	Bucket getByName(String name);
	Page<Bucket> selectPage(BucketQuery criteria);
	List<Bucket> selectList(BucketQuery criteria);
	int selectCountByStorage(String storageId);
}